![]() |
Web Services for Remote Management
14.0
Reference documentation for web service interfaces to support remote management of Symantec Endpoint Protection
|
Provides helper functionality for the ClientService API. More...
Static Public Member Functions | |
| static RiskEventFilter | createRiskEventFilter (String commandID) |
| Create a RiskEventFilter object. More... | |
| static RiskEventResult | createRiskEventResult (List< RiskEventTO > riskEventlist, PagingOptionsTO pagingOptionsTO, Context context, Long totalRiskEventCount) throws ServiceException |
| Creates a RiskEventResult object. More... | |
| static void | validateIPAddresses (String[] ipAddresses) throws InvalidArgumentServiceException |
| Validates the specified IP addresses. More... | |
| static ComputerResult | createComputerResult (List< ComputerTO > computerTOList, PagingOptionsTO pagingOptionsTO, Context context, long totalComputerCount) throws ServiceException |
| Creates a ComputerResult object that contains a list of valid Computer objects. More... | |
| static void | validateHostNames (String[] computerHostNames) throws InvalidArgumentServiceException |
| Validates the specified hostnames. More... | |
| static GroupResult | createGroupsResult (List< ClientGroupTO > groups, PagingOptionsTO pagingOptionsTO, Context context, long totalClientGroupCount) throws ServiceException |
| Creates a GroupResult object that contains a list of valid Group objects. More... | |
| static String | getNameFromPath (String fullPath) |
| Returns the group name from the full path of the group. More... | |
| static ClientGroupTO | createClientGroupTO (Group group) |
| Creates a ClientGroup transfer object that contains information from a ClientService Group object. More... | |
| static String | validateAndReconstructGroupPath (String groupPath) throws InvalidArgumentServiceException |
| Validates the group path parameter of the ClientService.getGroupsByName method. More... | |
| static Computer | createComputer (ComputerTO computerTO) |
| Creates a Computer object from the specified Computer transfer object. More... | |
| static Group | createGroup (ClientGroupTO clientGroupTO) |
| Creates a Group object from the specified ClientGroup transfer object. More... | |
| static void | validateEventGUIDs (String[] eventIds) throws InvalidArgumentServiceException, InvalidArgumentException |
| Validates the given GUID and throws an InvalidArgumentServiceException if it is invalid. More... | |
Static Public Attributes | |
| static final String | GROUP_DELIMITERS = "/\\" |
| Delimiters used to separate group names. More... | |
| static final String | GROUP_DELIMITERS_IN_DB = "\\" |
| Delimiter used to separate group names in the database. More... | |
| static final int | GROUPPATH_MAXLENGTH = 1000 |
| Maximum group path length. More... | |
Provides helper functionality for the ClientService API.
This class validates input parameters and populates transfer objects and filter objects. Additional validation is provided by other classes.
|
static |
Create a RiskEventFilter object.
| commandID | command GUID |
|
static |
Creates a RiskEventResult object.
| riskEventlist | list of risk event clients |
| pagingOptionsTO | transfer object that contains pagination information for returned result sets. |
| context | object that provides the starting index for multiple sets of results |
| totalRiskEventCount | the total number of results available in the returned RiskEventResult object |
| ServiceException | if more results are returned than are accounted for by the pagingOptionsTO parameter and the context parameter |
|
static |
Validates the specified IP addresses.
| ipAddresses | list of IP addresses for which to provide computer GUIDs |
| InvalidArgumentServiceException | if the computerGUID list is null or empty or if any IP address is invalid |
|
static |
Creates a ComputerResult object that contains a list of valid Computer objects.
If a specified IP address or hostname is not found, this information is not provided in the ComputerResult object.
| computerTOList | list of computers that match the specified IP addresses or hostnames |
| pagingOptionsTO | transfer object that contains pagination information for returned result sets |
| context | object that provides the starting index for multiple sets of results |
| totalComputerCount | total number of computers found for the specified IP addresses or hostnames |
| ServiceException | if the web service encountered an error processing the web request |
|
static |
Validates the specified hostnames.
| computerHostNames | list of hostnames for which to provide computer GUIDs |
| InvalidArgumentServiceException | if both the network domain name and the hostname are null or empty |
|
static |
Creates a GroupResult object that contains a list of valid Group objects.
| groups | list of ClientGroup transfer objects that match the specified group names |
| pagingOptionsTO | transfer object that contains pagination information for returned result sets |
| context | object that provides the starting index for multiple sets of results |
| totalClientGroupCount | total number of groups found for the specified group names |
| ServiceException | if the web service encountered an error processing the web request |
|
static |
Returns the group name from the full path of the group.
| fullPath | full path that is parsed to provide the group name |
|
static |
Creates a ClientGroup transfer object that contains information from a ClientService Group object.
| group | the Group object from which to copy. If this parameter is null, a default ClientGroupTO object is created. |
|
static |
Validates the group path parameter of the ClientService.getGroupsByName method.
The group path is reconstructed according to the following rules:
| groupPath | group path to validate |
| InvalidArgumentServiceException | if the group path is invalid |
|
static |
|
static |
|
static |
Validates the given GUID and throws an InvalidArgumentServiceException if it is invalid.
A GUID is considered to be valid if it contains only alphanumeric characters and is exactly 32 characters long.
| eventIds |
| InvalidArgumentServiceException | if the given GUID is invalid |
|
static |
Delimiters used to separate group names.
Forward slash or backslash are allowed.
|
static |
Delimiter used to separate group names in the database.
Only the backslash character is allowed.
|
static |
Maximum group path length.
1.8.11